package com.parttime.beans;

import java.io.Serializable;

public class Merchant_Users implements Serializable{
	private int merchant_id;  //商家用户id，自增，唯一标识商家，不为空
	private String m_password;// 商家密码
	private String company_name;//商家名称
	private String company_profile;//商家介绍
	private String E_mail;//商家邮件地址
	private String phone;//商家电话，唯一标识，不为空，作为登陆账号使用
	private String status;//状态，若商家触犯相关规则，状态置为0
	private String permit_id; //许可证id，用于证明商家身份
	public int getMerchant_id() {
		return merchant_id;
	}
	public void setMerchant_id(int merchant_id) {
		this.merchant_id = merchant_id;
	}
	public String getM_password() {
		return m_password;
	}
	public void setM_password(String m_password) {
		this.m_password = m_password;
	}
	public String getCompany_name() {
		return company_name;
	}
	public void setCompany_name(String company_name) {
		this.company_name = company_name;
	}
	public String getCompany_profile() {
		return company_profile;
	}
	public void setCompany_profile(String company_profile) {
		this.company_profile = company_profile;
	}
	public String getE_mail() {
		return E_mail;
	}
	public void setE_mail(String e_mail) {
		E_mail = e_mail;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public String getPermit_id() {
		return permit_id;
	}
	public void setPermit_id(String permit_id) {
		this.permit_id = permit_id;
	}

	@Override
	public String toString(){
		return "Merchant:[CompanyName:"+company_name+" CompanyProfile:"+company_profile+" Email:"+E_mail+" Phone: "+phone+"permit_id"+permit_id+"]";
	}
	
}
